<script>
export default {
    name: "Home"
}
</script>

<template>
    <div>
        <h2>Home组件内容</h2>
        <div>
            <ul class="nav nav-tabs">
                <li><router-link to="/home/news"  active-class="active" class="list-group-item">新闻列表</router-link></li>
                <li><router-link to="/home/films" active-class="active" class="list-group-item" aria-current="page">电影列表</router-link></li>
            </ul>
            <div>
               <router-view></router-view>
            </div>
        </div>
    </div>

</template>

<style scoped>

</style>